// ignore_for_file: unused_local_variable

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_app/main02.dart';
import 'res/listData.dart';

main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('Flutter Demo'),
        ),
        body: LayoutDemo(),
      ),
    );
  }
}

class LayoutDemo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
        child: Container(
      height: 400,
      width: 300,
      color: Colors.red,
      child: Stack(
        children: [
          Positioned(
            left: 10,
            bottom: 30,
            child: Icon(
              Icons.home,
              size: 40,
              color: Colors.white,
            ),
          ),
          Positioned(
            left: 10,
            bottom: 80,
            child: Icon(
              Icons.search,
              size: 30,
              color: Colors.white,
            ),
          ),
          Positioned(
            left: 60,
            bottom: 30,
            child: Icon(
              Icons.send,
              size: 30,
              color: Colors.white,
            ),
          ),
        ],
      ),
    ));
  }
}
